#ifndef _ECG_DATA_H_
#define _ECG_DATA_H_
#include <stdint.h>
__packed struct EcgData 
{
	unsigned char	head;		
	unsigned char	type;			
	unsigned char	index[4];			
	unsigned char	status;	
	unsigned int	info;		        
	unsigned int	id[4];		       
	unsigned char *databuf;
	unsigned char	tail;	        

};

void Sys_updateDir(void);
void Sys_updateFat(void);
uint8_t Sys_DataIsFull(void);






























#endif //_FAT_H_
